package com.yet.listener;

import org.springframework.context.ApplicationEvent;

import io.netty.channel.Channel;

public class ServerStartedEvent extends ApplicationEvent {

	private static final long serialVersionUID = 1L;
	private final Channel channel;

	public ServerStartedEvent(Object source, Channel channel) {
		super(source);
		this.channel = channel;
	}

	public Channel getChannel() {
		return channel;
	}
}
